#ifndef TRAINERPROCESSOR_H
#define TRAINERPROCESSOR_H

#include <QString>
#include "trainer.h"

class TrainerProcessor {
public:
	
	class Exception : public std::exception{
	private:
		const char* m_msg;
	public:
		Exception(const char* msg) : m_msg(msg) {}
		virtual const char* what() const throw() {return m_msg;}
	}; //class Exception
	
	TrainerProcessor(const QString& filename);
	~TrainerProcessor();
	
private:
	std::vector<Trainer*> m_trainers;
	
}; //class TrainerProcessor

#endif
